<?php

// set path to Smarty directory *nix style
define('SMARTY_DIR', PROJ_ROOT.'include/Smarty-2.6.22/libs/' );

require_once( SMARTY_DIR. 'Smarty.class.php' );

class GzoolSmarty extends Smarty {
    public function __construct() {
        parent::__construct();
        $this->template_dir = PROJ_ROOT . 'template/';
        $this->compile_dir  = PROJ_ROOT . 'smartyCompile/';
        $this->config_dir   = PROJ_ROOT . 'configs/';
        $this->cache_dir    = PROJ_ROOT . 'cache/';
        $this->left_delimiter = '<{';
        $this->right_delimiter = '}>';
        $this->force_compile = TRUE;
    }
}
?>